package com.xplay.xpocker.entity;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author xplay
 * @since 2023-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GameRuRoomUser implements Serializable {


    private BigDecimal id;

    @TableField("user_id")
    private BigDecimal userId;

    @TableField("room_id")
    private BigDecimal roomId;

    private Integer status;

    private Integer type;

    private Integer seq;
    @TableField("on_hook")
    private Boolean onHook;
    @TableField("online")
    private Boolean online;
    /**
     * 用于标记新老数据
     */
    @TableField(exist = false)
    private boolean old;

}
